//登录接口需要携带的ts类型
export interface loginForm {
  username: string
  password: string
}
export interface loginUserCode {
  code: number
  message: string
  ok: boolean
}
// 登录接口返回数据类型
export interface loginToken extends loginUserCode {
  data: string
}
//userName数据类型
export interface checkUserObj {
  routes: string[]
  buttons: string[]
  roles: string[]
  name: string
  avatar: string
}
export interface dataObj extends loginUserCode {
  data: checkUserObj
}
